package com.xxxy.Service;

import com.xxxy.Config.OpenFeignLoggerConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name ="service-provider-zyc",configuration = OpenFeignLoggerConfig.class)
public interface HIService {
    @GetMapping("/provider/hello")
    String hello(@RequestParam(value = "username",required = false)String username);
}